﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartCity.BasicData.Domain
{
    // created by FuMingJun
    /// <summary>
    /// /实体基类
    /// </summary>
    public class BaseEntity
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]//设置为非标识列
        public long Id { get; set; }
        /// <summary>
        /// 逻辑删除标识 0:正常 1:逻辑删除
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
